time a line of code python

33

import time
start = time.process_time()
# your code here    
print(time.process_time() - start)

Comments

Submit
0 Comments